package com.nercel.dsj.gksales.dao.mapper;

import com.nercel.dsj.gksales.model.QueryParams;
import com.nercel.dsj.gksales.model.dto.RegionBasicResultDTO;
import com.nercel.dsj.gksales.model.entity.Region;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RegionMapper extends BaseMapper<Region> {

	List<Region> query(QueryParams queryParams);

	List<RegionBasicResultDTO> queryWithSimpleInfo(QueryParams queryParams);

}
